<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta name="author" content="lcy">
    <script src="../jquery-3.1.1.js"></script>
    <title></title>
    <style>
        .chooseImg img{
            height: 200px;
            width: 200px;
        }
        input{
            display: none;
        }
    </style>
</head>
<body>
    <form action="">
        <div class="chooseImg">
            <img src="add.png" alt="">
            <input type="file">
            <img src="add.png" alt="">
            <input type="file">
            <img src="add.png" alt="">
            <input type="file">
        </div>
        <div class="upload">
            <button type="button">添加</button>
            <button type="submit">上传</button>
        </div>
    </form>
</body>
</html>
<script>
    $('button[type=button]').click(function(){
        var img=document.createElement('img');
        img.src='add.png';
        $('.chooseImg').appendChild(img);
        var input=document.createElement('input');
        input.type='file';
        $('.chooseImg').appendChild(input);
    })
</script>